﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LCA.Community.DAL.Model;

namespace LCA.Community.DAL.Interfaces
{
    /// <summary>
    /// The interface for message recipents repositories.
    /// </summary>
    public interface IMessagesRecipentsRepository : IBaseRepository<MessageRecipent>
    {
        List<MessageRecipent> GetMessageRecipentsByMessage(string messageId);
        void DeleteAllMessageRecipentsFromMessage(string messageId);
        void DeleteAllReceiverMessageRecipents(string userID);
        List<MessageRecipent> GetMessageRecipentsByReceiver(string userID);
    }
}
